package com.joyo8.app.gdi;

import android.util.Log;

public class Utils {
    public final static String TAG = "DeviceInfo";
    /** mem info */
    public final static String FILE_MEM = "/proc/meminfo";
    /** CPU info*/
    public final static String FILE_CPUINFO = "/proc/cpuinfo";
    
    protected boolean showLog = true;
    
    public void log(String msg){
        if(showLog){
            Log.d(TAG," >>> "+msg);
        }
    }
    
    public void setShowLog(boolean enabled){
        showLog = enabled;
    }
}
